/*
 * Data.java
 *
 * Created on 28 de Novembro de 2007, 00:21
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.com.sgpa.utilidade;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author Leandro
 */
public class Data {
    
    /** Creates a new instance of Data */
    public Data() {
    }
    
    public static boolean isData(String data){
        try {
            Date data1 = SimpleDateFormat.getInstance().parse(data);
            return true;
        } catch (Exception ex) {
            return false;
        }
    }
}
